#饮品信息
def all_goods():
    goods={"可口可乐":2.5,"百事可乐":2.5,"冰红茶":3,"脉动":3.5,"果缤纷":3,"绿茶":3,"茉莉花茶":3,"尖叫":2.5}
    return goods
    #展示饮品信息
def show_goods():
    for x, y in all_goods().items():
           print(x,":",str(y)+"元")
#计算总额
def total(goods_dict):
    count = 0
    for name, num in goods_dict.items():
        total_money = all_goods()[name] * num
#总金额
        count += total_money
    print("需要支付金额：",count,"元")